<script>

</script>

<template>
    <div class="wave"></div>
    <div class="demo">
        <div class="card">

        </div>
    </div>
</template> 

<style scoped>
.demo {
    position: absolute;
    left: 0;
    width: 400px;
    height: 300px;
    background-color: #fff;
}

.card {
    position: relative;
    width: 200px;
    height: 200px;
    background: repeating-linear-gradient(-45deg, transparent, transparent 10px, #007bff 10px, #007bff 20px);
    background-size: 100% 50px;
    background-repeat: no-repeat;
    /* animation: moveC 10s linear infinite; */
}

.wave {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    animation: wave 1.5s ease-in-out infinite alternate;
}

@keyframes wave {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}
</style>